package com.way.designpatterncodepratice.factory.base.china;

import com.way.designpatterncodepratice.factory.base.Pizza;

/**
 * @author liangliwei 80551025
 * @description
 * @date 2020-06-22
 */
public class ChinaCheesePizza extends Pizza {
    public ChinaCheesePizza() {
        setName("奶酪披萨");
        setAddress("中国");
    }

    @Override
    public void prepare() {
        System.out.println(address+name+"is preparing");
    }
}
